home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xvc / XSGIvcQueryVideoScreenInfo.z / XSGIvcQueryVideoScreenInfo
Text File  |  1998-10-30  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo((((3333))))       XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo((((3333))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSGIvcQueryVideoScreenInfo - Query video screen, graphics
  10.           type
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXX11111111////eeeexxxxtttteeeennnnssssiiiioooonnnnssss////XXXXSSSSGGGGIIIIvvvvcccc....hhhh>>>>
  14.  
  15.           SSSSttttaaaattttuuuussss XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo((((DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,,,,
  16.               iiiinnnntttt ssssccccrrrreeeeeeeennnn,,,,
  17.               XXXXSSSSGGGGIIIIvvvvccccSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo ****ssssiiiinnnnffffoooo____rrrreeeettttuuuurrrrnnnn))))
  18.  
  19.      PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
  20.           _d_i_s_p_l_a_y        Specifies the connection to the X server.
  21.  
  22.           _s_c_r_e_e_n         Specifies the screen of the X server.
  23.  
  24.           _s_i_n_f_o__r_e_t_u_r_n   A pointer to the XSGIvcScreenInfo variable
  25.                          which is to receive the corresponding
  26.                          information.
  27.  
  28.  
  29.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  30.           XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo returns a _X_S_G_I_v_c_S_e_r_v_e_r_I_n_f_o
  31.           structure containing video server information for a
  32.           specified screen.
  33.  
  34.  
  35.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  36.           This function returns TRUE if successful, FALSE upon
  37.           failure.
  38.  
  39.           Parameter errors are reported via BadValue or BadMatch.
  40.  
  41.  
  42.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  43.           The structure returned is shown below.
  44.  
  45.           /* See flags in XSGIvcScreenInfo */
  46.           #define XSGIVC_SIFFormatPerChannel (1L << 0)   /* Formats change per channel */
  47.           #define XSGIVC_SIFFormatCombination     (1L << 1)   /* Formats change via combination */
  48.  
  49.           typedef struct {
  50.               int             numChannels;   /* Number of output channels */
  51.               long            flags;         /* See XSGIVC_SIF... masks */
  52.               Bool            lockOp;        /* XSGIvcSetScreenInputSyncSource usable */
  53.               char      graphicsType[XSGIVC_NAME_MAX]; /* Names of gfx hw */
  54.               int            numExternalSync;     /* Number of external sync ports */
  55.           }               XSGIvcScreenInfo;
  56.  
  57.           _n_u_m_C_h_a_n_n_e_l_s specifies the number of output channels on this
  58.           server.  You may use set or query operations on channels
  59.           numbering 0 to _n_u_m_C_h_a_n_n_e_l_s - _1.
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo((((3333))))       XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo((((3333))))
  71.  
  72.  
  73.  
  74.           The _f_l_a_g_s field may contain the following mask bits:
  75.  
  76.           _X_S_G_I_V_C__S_I_F_F_o_r_m_a_t_P_e_r_C_h_a_n_n_e_l
  77.                         Video formats may be changed for each channel.
  78.                         Servers with multiple channels need not use
  79.                         format combinations.
  80.  
  81.           _X_S_G_I_V_C__S_I_F_F_o_r_m_a_t_C_o_m_b_i_n_a_t_i_o_n
  82.                         Video formats may be changed en masse with a
  83.                         format combination.
  84.  
  85.           _l_o_c_k_O_p describes whether the server has the capability to
  86.           lock to external sync sources via the
  87.           XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttSSSSccccrrrreeeeeeeennnnIIIInnnnppppuuuuttttSSSSyyyynnnnccccSSSSoooouuuurrrrcccceeee function.
  88.  
  89.           _g_r_a_p_h_i_c_s_T_y_p_e contains a null-terminated ASCII string
  90.           containing the name of the graphics hardware type.  The name
  91.           is unique for each type of graphics hardware.
  92.  
  93.           _n_u_m_E_x_t_e_r_n_a_l_S_y_n_c contains the number of external sync
  94.           sources.
  95.  
  96.  
  97.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  98.           XSGIvc, XSGIvcListVideoFormats,
  99.           XSGIvcSetScreenInputSyncSource
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.